<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%--create by yangyafei on 2017年9月8日--%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

						
						<c:forEach items="${Admin }" var="a" varStatus="index">
							<tr>
							 <td><input type="checkbox" name="checkboxs" value="${a.id }"  ></td>	
								<td>${a.name }</td>
								<td>${a.age }</td>
							</tr>
							
							</c:forEach>
							
								<tr>
								<td colspan="3">
									<button class="am-btn am-btn-primary" title="点击后将所有数据的checkbox修改为选中状态" type="button"  id="check" onclick='return checkAll();'  >全选</button>
									<button class="am-btn am-btn-primary" title="点击后将所有数据的checkbox修改为未选中状态"  type="button"  id="checkNo" onclick='return checkNoAll();'>全不选</button>
									<button class="am-btn am-btn-primary" title="点击后，已选择的checkbox改为未选择，未选择的checkbox改为已选择">反选</button>
									<button class="am-btn am-btn-warning" title="点击后提交已选择数据的value值">提交已选择数据</button>
								</td>
							</tr>
							
							
						
					
</body>
</html>